Control flow is the order in which activities or actions are executed or performed in a workflow. Control flow is enacted through control flow activities used to define the decisions during workflow execution. The execution of control flow activities helps the user choose a suitable path to follow in the workflow. A proper control flow can be achieved through the intelligent use of variables and activities.

These activities are found in the Activities panel, under Workflow > Control

These activities enable defining rules and automating conditional statements within the project, through if/else and for each statement or loop. Delay can also be added between actions to perfectly time activities.

There are two types of Control Flow that help in controlling the flow of a program. They are:

1. Decision-based control flow : Here, a decision is made based on a specified condition. If the condition is met, the program executes one part, and if not, it executes another part. This control flow consists of If and Switch activities.

2. Iteration-based control flow : Here, a particular part of a program is executed multiple times until a specific condition is met or holds true. This control flow consists of loops such as While , Do While and For Each.